#pragma once
#ifndef Core_h__
#define Core_h__

#include "Geo.h"

/// Set the below variables in this function
void Config();
extern Vec ScreenSize;
extern float ScreenScale;

void SetTransformation(float tx, float ty, float sx, float sy, float angle);
void SetDefaultTransformation();
Vec WindowToScreen(Vec coord);

extern double TotalGameTime;

void Init();
void Update(float dt);
void Draw();
bool Quit(); /// return true if we allow to quit

void Error(const char* error, ...);

extern int FrameNum;

extern int CurrentRenderPass;
extern int RenderPasses;

#endif // Core_h__